#ifdef GL_ES
precision mediump float;
#endif

uniform float u_time;
uniform vec2 u_resolution;
uniform vec2 u_mouse;

vec3 red=vec3(1.,0.,0.);
vec3 green=vec3(.0,1.,0.);
vec3 blue = vec3(.0,.0,1.0);

void main(){

    vec2 st = gl_FragCoord.xy/u_resolution;

    vec3 color = vec3(.0);
    color = mix(red,green,st.x);

    // color = mix(color,red,st.x);
    // color = mix(color,green,st.x);
    color = mix(color,blue,st.x);


    gl_FragColor=vec4(color,1.0);
}